{% if reviews %}
    {% for review in reviews %}
      <li>
        <div class="reviews-title">
          <div class="reviews-name">
            <div style="overflow: hidden;white-space:nowrap">{{ review.author }}</div>
            <div class="reviews-star">
                {% for i in 1..5 %}
                    {% if review.rating < i %}
                      <span class="fa fa-stack">
                                <i class="fa fa-star-o fa-stack-2x"></i>
                            </span>
                    {% else %}
                      <span class="fa fa-stack">
                                <i class="fa fa-star fa-stack-2x"></i>
                                <i class="fa fa-star-o fa-stack-2x"></i>
                            </span>
                    {% endif %}
                {% endfor %}
            </div>
          </div>
          <div class="reviews-time">
              {{ review.date_added }}
          </div>
        </div>
        <div class="reviews-content">
            {{ review.text }}
        </div>
      </li>
    {% endfor %}
  <div class="text-center turn-the-page">{{ pagination }}</div>
{% else %}
  <p style="padding-left: 10px;">{{ text_no_reviews }}</p>
{% endif %} 